#include <cuda_runtime.h>

class LinearInterpolation_PGR{
public:
	typedef struct float3Tofloat{
		__host__ __device__ float operator()(float3 in){
			return in.z;
		}
	};



	LinearInterpolation_PGR(int width, int height);
	~LinearInterpolation_PGR();
	float* interpolate(float3* in);





private:
	float* device_in;
	float* device_out;
	float* cpu_out;
	int width;
	int height;
};